Automattic\Jetpack\Publicize\Publicize_Base D

Total Complexity 245
Dependencies 9
Dependents 0
Total lines 2,004
Lines of code 891
Logical lines of code 426
Comment lines 843
Methods 67
Properties 15

Methods 67

Method Rating Maintainability Complexity Lines of code
save_meta()
B
39 23 58
get_filtered_connection_data()
B
36 20 73
get_publicize_conns_test_results()
A
40 13 60
should_submit_post_pre_checks()
A
46 14 41
update_published_message()
A
41 12 55
show_options_popup()
A
52 14 22
get_profile_link()
A
46 13 36
jetpack_social_open_graph_filter()
A
50 10 28
register_post_meta()
A
36 3 108
get_display_name()
A
55 8 20
get_service_label()
A
58 8 16
get_attached_media_image()
S
55 6 19
get_api_data()
S
51 5 28
compress_and_scale_og_image()
S
56 4 21
reduce_file_size()
S
57 4 17
is_enabled()
S
63 5 10
get_supported_additional_connections()
S
62 4 13
get_publicizing_services()
S
59 4 13
post_is_publicizeable()
S
62 4 12
get_username()
S
63 4 10
get_social_opengraph_image()
S
59 3 15
build_sprintf()
S
59 3 14
__construct()
S
50 1 31
add_jetpack_social_og_image()
S
59 2 15
current_user_can_access_publicize_data()
S
68 3 7
publicize_connections_url()
S
66 3 7
get_remote_filesize()
S
65 3 8
get_available_service_data()
S
62 2 12
post_type_is_publicizeable()
S
71 2 6
get_publicize_shares_info()
S
69 2 7
has_paid_plan()
S
68 2 7
publicize_checkbox_default()
S
71 2 6
get_dismissed_notices()
S
69 2 7
get_profile_picture()
S
69 2 7
is_valid_facebook_connection()
S
66 2 8
parse_connection_error_code()
S
72 2 6
calculate_scheduled_shares()
S
60 1 14
get_services()
S
100 1 0
get_connection()
S
100 1 0
get_connections()
S
100 1 0
disconnect_url()
S
100 1 0
is_enhanced_publishing_enabled()
S
81 1 3
is_social_image_generator_enabled()
S
81 1 3
has_enhanced_publishing_feature()
S
80 1 3
get_connection_unique_id()
S
100 1 0
has_social_image_generator_feature()
S
80 1 3
has_social_auto_conversion_feature()
S
79 1 3
has_connection_feature()
S
79 1 3
refresh_url()
S
100 1 0
connect_url()
S
100 1 0
get_connection_id()
S
100 1 0
disconnect()
S
100 1 0
get_connection_meta()
S
100 1 0
add_post_type_support()
S
80 1 3
globalize_connection()
S
100 1 0
get_resized_image_url()
S
67 1 9
unglobalize_connection()
S
100 1 0
is_global_connection()
S
79 1 3
is_invalid_linkedin_connection()
S
74 1 4
is_connecting_connection()
S
72 1 5
test_publicize_conns()
S
81 1 3
test_connection()
S
100 1 0
post_is_done_sharing()
S
100 1 0
user_id()
S
81 1 3
message_meta_auth_callback()
S
80 1 3
blog_id()
S
81 1 3
flag_post_for_publicize()
S
100 1 0